package cn.iocoder.yudao.module.shop.controller.admin.crossorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH;

@Data
public class ShopCrossOrderMonthReqVO {
    @Schema(description = "店铺id")
    @NotNull(message = "店铺id不能为空")
    private Long tenantId;

    @Schema(description = "月份")
    @NotNull(message = "时间不能为空")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH)
    private LocalDateTime time;
}
